import request from '@/utils/request'

// 查询份额调整列表
export function listNcShareAdjustment(query) {
  return request({
    url: '/sales/NcShareAdjustment/list',
    method: 'get',
    params: query
  })
}

// 查询份额调整详细
export function getNcShareAdjustment(id) {
  return request({
    url: '/sales/NcShareAdjustment/' + id,
    method: 'get'
  })
}

// 新增份额调整
export function addNcShareAdjustment(data) {
  return request({
    url: '/sales/NcShareAdjustment',
    method: 'post',
    data: data
  })
}

// 修改份额调整
export function updateNcShareAdjustment(data) {
  return request({
    url: '/sales/NcShareAdjustment',
    method: 'put',
    data: data
  })
}

// 删除份额调整
export function delNcShareAdjustment(id) {
  return request({
    url: '/sales/NcShareAdjustment/' + id,
    method: 'delete'
  })
}
